package com.pic.mgt.action;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

import com.pic.mgt.HaishinLauncher;

public class AutoInspectMissUnitActionImplQuartzJobBean extends QuartzJobBean {

	@Override
	protected void executeInternal(JobExecutionContext arg0)
			throws JobExecutionException {
		
		AutoInspectMissUnitAction autoInspectMissUnitAction =
						HaishinLauncher.applicationContext.getBean(
												"autoInspectMissUnitActionImpl",
												AutoInspectMissUnitAction.class);
		
		autoInspectMissUnitAction.autoInspectMissUnitAndRecover();
	}

}
